# 双重迭代生成笛卡尔积
person_name = ['wandehua', 'wanghong', 'wanghongjun', 'wangjin', 'wangyansong']
ages = [18, 22, 23, 24, 19]
per_age = [(name, age) for name in person_name
           for age in ages]
print(per_age)
